import type { RouteRecordRaw } from 'vue-router'
import type { CategoryObj } from '@/api/product/attr/type'

export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  avatar: string
  username: string
}

export interface SettingState {
  fold: boolean
  refresh: boolean
}

export interface CategorySate {
  c1Id: number | string
  c1Arr: CategoryObj[]
  c2Id: number | string
  c2Arr: CategoryObj[]
  c3Id: number | string
  c3Arr: CategoryObj[]
}
